using System;
using System.Collections.Generic;
using System.Data.Entity;
using System.Linq;
using System.Web;
using CEIT.Domain;

namespace CEIT.Web.Mvc.Models
{
    public class CEITWebMvcContext : DbContext
    {
        // You can add custom code to this file. Changes will not be overwritten.
        // 
        // If you want Entity Framework to drop and regenerate your database
        // automatically whenever you change your root schema, add the following
        // code to the Application_Start method in your Global.asax file.
        // Note: this will destroy and re-create your database with every root change.
        // 
         //System.Data.Entity.Database.SetInitializer(new System.Data.Entity.DropCreateDatabaseIfModelChanges<CEIT.Web.Mvc.Models.CEITWebMvcContext>());


        public DbSet<CEIT.Domain.Configuracao> Configuracoes{ get; set; }
        public DbSet<LogAcesso> LogAcessos { get; set; }
        public DbSet<Usuario> Usuarios { get; set; }
        
    }
}